package com.ynet.middleground.user.service;

import com.ynet.core.common.ServiceResult;
import com.ynet.middleground.user.bean.OperationBlacListReq;
import com.ynet.middleground.user.bean.QueryBlacListInfoReq;
import com.ynet.middleground.user.dto.BlacListInfoDto;

import javax.validation.Valid;
import java.util.List;

/**
 * @program: 2019-10-12_userCenter
 * @description: 黑白名单管理服务
 * @author: DaiGaoLe
 * @create: 2019-10-30 11:50
 **/

public interface BlackListManagementService {

    /**
     * @program: 2019-10-12_userCenter
     * @description: 添加黑名单
     * @author: DaiGaoLe
     * @create: 2019-10-23 15:25
     **/
    ServiceResult<String> addBlacList(@Valid OperationBlacListReq operationBlacListReq);


    /**
     * @program: 2019-10-12_userCenter
     * @description: 移除黑名单
     * @author: DaiGaoLe
     * @create: 2019-10-23 15:25
     **/
    ServiceResult<String> removeBlacList(@Valid OperationBlacListReq operationBlacListReq);


    /**
     * @program: 2019-10-12_userCenter
     * @description: 查询黑名单
     * @author: DaiGaoLe
     * @create: 2019-10-23 15:25
     **/
    ServiceResult<List<BlacListInfoDto>> queryBlacList(@Valid QueryBlacListInfoReq operationBlacListReq);

}
